﻿class @AuthorsModel extends Backbone.Model
    defaults:
        Categories: []
        Authors: []
        Letter: ''

    url: ->
        url = SiteMap.Authors.Listing + "?letter=" + @attributes.Letter
        return url

    parse: (response) ->
        attr = {
            Categories: response.Categories
            Authors: response.Authors
        }